<template>
  <div class="main-layout">
    <keep-alive :include="cachedPages">
      <router-view />
    </keep-alive>
    <reset-pwd-dialog></reset-pwd-dialog>
  </div>
</template>

<script>
import ResetPwdDialog from '../views/user/components/ResetPwdDialog.vue'

import { mapGetters } from 'vuex'
export default {
  name: 'LayoutMain',
  components: { ResetPwdDialog },
  props: {},
  data() {
    return {
      showMask: false,
      curStep: 1,
      stepInfo: null,
    }
  },
  computed: {
    ...mapGetters(['cachedPages', 'loginCount']),
  },
}
</script>

<style lang="scss" scoped>
.main-layout {
  height: 100%;
  width: 100%;
  position: relative;
}
</style>
